﻿#ifndef MAP_H
#define MAP_H
#include <QWidget>
#include <QPaintEvent>
#include <vector>
#include <QPainter>
#include <QDebug>
using namespace std;
class Map;



struct date_map{
    double x1,x2,y1,y2;
};
extern vector<date_map> maps;


class Map:public QWidget
{
public:
    Map();
    Map(QWidget *parent);
    void paintEvent(QPaintEvent *event);
    void add(double x1,double y1,double x2,double y2);
};

#endif // MAP_H
